﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcCodeCreator
{
    public class Param
    {
        private string _Name;
        public string Name
        {
            get { return _Name; }
            set
            {
                _Name = value.Replace("@", "");
            }
        }

        private string _Type;

        public string Type
        {
            get { return _Type; }
            set
            {
                DBType = value;
                _Type = Common.GetTypeVal(value);
            }
        }

        public string OutType
        {
            get;
            set;
        }

        public string DBType
        {
            get;
            set;
        }

        public int Length
        {
            get;
            set;
        }
    }
}
